﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MacomberMapSystem.Common.CIM.Direct
{
    /// <summary>
    /// This class provides a direct linkage to another element
    /// </summary>
    public class CIM_DirectLink: CIM_Link
    {
        #region Initialization
        /// <summary>
        /// Initialize a new CIM Direct link
        /// </summary>
        /// <param name="Elem"></param>
        public CIM_DirectLink(CIM_Element Elem)
            : base()
        {
            this.TypeByte = Elem.Type;
            this.CIM = Elem.CIM;
            this.TargetID = Elem.ID;
            this._Element = Elem;
        }
        #endregion
    }
}
